//
//  QQAsyncService.h
//  QQStaticLib
//
//  Created by mac on 16/4/13.
//  Copyright © 2016年 srulos. All rights reserved.
//

#import "WQSimpleHttpHelper.h"
#import <UIKit/UIKit.h>
#import "LibHeader.h"

@class WQHttpResult;
@class QQUserModel;
@interface QQAsyncSimulationService : WQSimpleHttpHelper
+ (QQAsyncSimulationService*)stander;

@property (nonatomic,retain) NSString * m_uin;
@property (nonatomic,retain) QQUserModel * m_selfUserModel;
//登陆
- (void)asyncLogin:(NSString*)uin password:(NSString*)password imageCode:(NSString*)imageCode showImageCodeBlock:(void(^)(UIImage * imageCode))showImageCodeBlock respBlock:(void(^)(WQHttpResult * result))respBlock;
//获取图片验证码
- (void)asyncGetImageCode:(void(^)(UIImage * imageCode))showImageCodeBlock;
//初始化，获取自己的信息和获取好友列表
- (void)asyncQQInit:(void(^)(QQ_INIT_RESULT initResult))initResultBlock;
//获取头像
- (void)asyncGetHeadImg:(NSString*)headImageUrl respBlock:(void(^)(UIImage * headImage))respBlock;
//发送消息
- (void)asyncSendMsg:(NSString*)content url:(NSString*)url uins:(NSMutableArray*)uins respBlock:(void(^)(BOOL isSuccess))respBlock;
//关注公众号,添加好友
- (void)asyncAddContact:(NSString*)uin respBlock:(void(^)(WQHttpResult * result))respBlock;
@end
